Skip to content

docs(safe-outputs): fix stale agent-stats footer description - #2197

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-pr-stats-footer-description-0b9e6b8941dbf9e7
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
docs/fix-pr-stats-footer-description-0b9e6b8941dbf9e7

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Agent Documentation Update

Findings

Area Issue File(s)
accuracy create-pull-request's include-stats option was documented as appending "(token usage, duration, model)" to the PR description, but the just-merged PR #2195 (fix(safe-outputs): simplify PR metadata footer) changed AgentStats::to_markdown to drop the raw token-count fallback entirely — it now shows AI credits when available (or omits the consumption segment) plus model, tool-call count, and duration. The doc still described the removed token-count format. docs/safe-outputs.md

Applied Fixes

  • Updated the include-stats bullet under create-pull-request to describe the current footer segments (AI credits when available, duration, model, tool calls) instead of the removed "token usage" wording.

Notes

Verified against src/agent_stats.rs::AgentStats::to_markdown (current main, post-#2195) and its test test_to_markdown_omits_consumption_when_no_credits, which confirms token counts are no longer emitted. Checked the equivalent include-stats bullets for comment-on-work-item, create-work-item, and the wiki-page tools — they do not name a specific format, so no change was needed there. Confirmed several other known documentation gaps (container_runtime.rs in AGENTS.md, network.md ecosystem identifiers, ir.md conclusion trigger, ado-script.md, export-bash-scripts flag, prompts permissions-required, dependsOn/condition docs) already have open PRs, so this run targeted a distinct, unaddressed drift.


Created by the agent-documentation maintainer workflow.

Generated by Agent Documentation Maintainer · auto · 205.8 AIC · ⌖ 11.2 AIC · ⊞ 11.9K · ◷

…te-pull-request

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@jamesadevine

Copy link
Copy Markdown
Collaborator

Integrated into #2238 and validated there. Closing this source PR as superseded by the aggregate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant